cmake_minimum_required(VERSION 3.5)

project(BlockStrengthenPlugin LANGUAGES CXX C VERSION 1.0.0)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF)

add_library(${PROJECT_NAME} SHARED 
    BlockStrengthenPlugin.cpp
    BlockStrengthenPlugin.h
)

target_link_libraries(${PROJECT_NAME} PUBLIC PocketSurvival)
